package com.example.commonmybatisplus.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @Author ifredomvip@gmail.com
 * @Date 2022/6/15 14:46
 * @Version 1.0.0
 * @Description
 **/
@Data
@Configuration
@PropertySource(value = {"file:D:\\project1.properties"})

public class LoadDiskConfig {
    @Value("driverClassName")
    private String driverClassName;
    @Value("url")
    private String url;
    @Value("username")
    private String username;
    @Value("password")
    private String password;
}
